import { IDataViewCtrlAbility, DataViewCtrlActionType } from '../..';
import { IMDCtrlControllerParams } from './i-md-ctrl-controller-params';

/**
 * 卡片视图部件控制器输入参数接口
 *
 * @export
 * @interface IDataViewCtrlControllerParams
 * @extends {IMDCtrlControllerParams<DataViewCtrlActionType, IDataViewCtrlAbility>}
 */
export interface IDataViewCtrlControllerParams<
	T,
	A extends IDataViewCtrlAbility
> extends IMDCtrlControllerParams<T | DataViewCtrlActionType, A> {
	/**
	 * 行激活模式 (0: 无激活、1: 单击激活、2: 双击激活)
	 *
	 * @type {(0 | 1 | 2)}
	 * @memberof IDataViewCtrlControllerParams
	 */
	rowActiveMode: 0 | 1 | 2;
}
